import type { ProRenderFieldPropsType } from '@ant-design/pro-components';
import { SysDictTag } from '@/components';

export const dictTag: ProRenderFieldPropsType = ({
  render: ({ label, style } = {}) => (<SysDictTag
    label={label}
    style={style}
  />),
});
